.carousel {
  user-select: none;
  display: flex;
  overflow: hidden;
  position: relative;
}
.carousel .carousel-item {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  transition-duration: 300ms;
  transition-property: all;
  transition-timing-function: linear;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}
.carousel .carousel-item > * {
  height: 100%;
  width: 100%;
}
.carousel .indicate-wrapper {
  padding: 0;
  position: absolute;
  top: unset;
  bottom: 12px;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
}
.carousel .indicate-wrapper .indicate-item {
  width: 16px;
  height: 3px;
  display: flex;
  margin-inline: 4px;
}
.carousel .indicate-wrapper .indicate-item-active {
  width: 24px;
}
.carousel .indicate-wrapper .indicate-item .indicate-item-btn {
  background-color: #ffffff;
  opacity: 0.3;
  transition: all 0.3s;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  width: 100%;
  height: 3px;
  border-radius: 1px;
}
.carousel .indicate-wrapper .indicate-item-active .indicate-item-btn {
  background: #ffffff;
  opacity: 1;
}
.carousel .indicate-wrapper .indicate-item .indicate-item-btn:hover {
  opacity: 0.75;
}
.carousel:hover .control {
  opacity: 1;
}

.carousel .control {
  opacity: 0;
}
.carousel .control .control-item {
  width: 36px;
  height: 36px;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  border-radius: 50%;
  cursor: pointer;
  background-color: rgba(31, 45, 61, 0.11);
  color: #fff;
  z-index: 5;
  transition: all 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel .control .control-item:hover {
  opacity: 1;
  background-color: rgba(31, 45, 61, 0.5);
}
.carousel .control .control-item.control-left {
  left: 16px;
}
.carousel .control .control-item.control-right {
  right: 16px;
}
